Ban System
Block unwanted visitors
Ban System will help you to block the access to your website for specific IPs, Countries, IP Ranges, Internet Service Providers (ISP), Browsers, Operating Systems (OS) and Referrers. Banned IPs can be redirected to an optional page or website.
Ban System will help you to block the access to your website for specific IPs, Countries, IP Ranges, Internet Service Providers (ISP), Browsers, Operating Systems (OS) and Referrers. Banned IPs can be redirected to an optional page or website.
Ban System comes with powerful admin panel from which you can view and manage all bans and it is also integrated with tools like IP Lookup tool that is integrated with Blacklist Checker. The Admin Panel has many features and settings.
- IP Bans
Blocks the access to specific IP Addresses.
- Country Bans (Blacklist / Whitelist)
Blocks the access to specific Countries. You can choose between Blacklist and Whitelist method for Country Banning.
- IP Range Bans
Blocks the access to specific IP Ranges.
- Bans by Browser
Blocks the access to visitors that are using a specific Browser.
- Bans by Operating System
Blocks the access to visitors that are using a specific Operating System.
- Bans by Internet Service Provider
Blocks the access to visitors that are using a specific Internet Service Provider.
- Bans by Referrer
Blocks the access to visitors that are coming from specific web places (Referrers).
- Redirect option
Banned IP Addresses can be redirected to an optional page or website.
- Warning Pages editor
Warning Pages's text message can edited by your taste.
- IP Whitelist
A list of IP Addresses that will be ignored by the app and will not be blocked.
- IP Lookup / Whois
Tool that help you investigate IP Address and check if it is blacklisted.
- Dashboard with Stats
On the Dashboard you can check the Statistics.
- Very Optimized
The script is very lightweight and won't slow down your website loading time.
- Fully Responsive
Looks good on many devices and screen resolutions.
- Easy to setup
The script is integrated with Installation Wizard that will help you to install the app.
- Easy for use
Include one line of code in any main file to protect the whole website.
and many more...
- Create a subfolder named “bansystem” under your website’s root directory (www / public_html) via FTP or File Manager
- Upload the files from the "Source" folder of the script into the newly created subdirectory
- Create a MySQL database (Your hosting provider can assist)
- Visit your website where you uploaded the files (For example: yourwebsite.com/bansystem)
- The Installation Wizard will open automatically, just follow the steps
- Copy the Integration Code that you will see at the end of the Installation Wizard
- Put the copied Integration Code in the top (or bottom) part of one main .php file of your website
( (Examples: index.php file; database config (connection) file; functions file; header file; core file that is included in all other .php files)
Integration code: include "bansystem/ban-system.php";
Note: If you are updating the script replace all its files with the updated.
Delete the config.php file of Ban System and follow the Installation Steps.
To backup your data export all Ban System related database tables.
Update instructions for v2.0 => Run these SQL queries in PHPMyAdmin:
ALTER TABLE `bansystem_bans` CHANGE `ip` `ip` CHAR(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bansystem_bans-ranges` CHANGE `ip_range` `ip_range` CHAR(19) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;
ALTER TABLE `bansystem_ip-whitelist` CHANGE `ip` `ip` CHAR(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL;